import request from '@/utils/request';

// 分页查询申请文章列表
export function applyArticleList(data) {
  return request({
    url: '/article/apply-article/list',
    method: 'post',
    data
  })
}

// 审批文章
export function approveArticle(data) {
  return request({
    url: '/article/apply-article/approve',
    method: 'post',
    data
  })
}

// 删除申请文章的记录
export function deleteApplyArticle(data) {
  return request({
    url: '/article/apply-article/deleteApplyArticle',
    method: 'post',
    data
  })
}
